package com.arpa.wms.domain.dto;

import com.arpa.wms.domain.entity.Inventory;
import lombok.Data;

import java.math.BigDecimal;

/**
 * 库存操作DTO类
 * @author liuxr
 * @date 2021年04月22日 17:54
 */
@Data
public class InventoryOperationDto {
    private String uuid;
    private String inventoryCode;
    private BigDecimal quantity;
    private BigDecimal recheckRefundQuantity;
    private BigDecimal recheckQuantity;
    private Inventory inventory;
    private String sourceCode;

    public InventoryOperationDto(String uuid,String inventoryCode, BigDecimal quantity, BigDecimal recheckRefundQuantity, BigDecimal recheckQuantity,Inventory inventory) {
        this.uuid=uuid;
        this.inventoryCode = inventoryCode;
        this.quantity = quantity;
        this.recheckRefundQuantity = recheckRefundQuantity;
        this.recheckQuantity = recheckQuantity;
        this.inventory = inventory;
    }

    public InventoryOperationDto() {

    }
}
